package cn.software.service;

import cn.software.entity.User;
import cn.software.entity.param.UserClassParam;
import cn.software.entity.vo.studentVo;
import cn.software.entity.vo.teacherVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 眉眼如初
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2023-05-31 20:54:23
*/
public interface UserService extends IService<User> {

    void register(User user);

    User login(String username,String password);

    List<teacherVo> SelectTeacher();

    List<studentVo> selectStudent();

    boolean updateUser(User user);

    boolean enterClass(UserClassParam userClassParam);
}
